﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example4
{
    class Program
    {
        static void Main(string[] args)
        {
            Rectangle rect = new Rectangle();
            Triangle trgl = new Triangle();
            rect.setValues(4, 5);
            trgl.setValues(4, 5);
            Console.WriteLine("recta{0}:" + rect.area());
            Console.WriteLine("trglb{0}:" + trgl.area());
        }
    }
}
